package com.wangxiang.shop.member.dao;

import com.wangxiang.shop.member.entity.ShopCartEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-05 22:22:19
 */
@Mapper
public interface ShopCartDao extends BaseMapper<ShopCartEntity> {
	List<ShopCartEntity> getCartListByUserId(int userId);

	int updateStatus(int cartId,int status);


}
